package com.eshop.modules.activity.service.dto;

import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class PinkDto implements Serializable
{
    @ApiModelProperty("拼团ID")
    private Long id;
    @ApiModelProperty("用户ID")
    private Long uid;
    @ApiModelProperty("拼团总人数")
    private Integer people;
    @ApiModelProperty("拼团产品单价")
    private Double price;
    @ApiModelProperty("拼团结束时间")
    private Date stopTime;
    @ApiModelProperty("拼团用户昵称")
    private String nickname;
    @ApiModelProperty("拼团用户头像")
    private String avatar;
    @ApiModelProperty("参与的拼团的id集合")
    private String count;
    @ApiModelProperty("拼团时效：小时")
    private String h;
    @ApiModelProperty("拼团时效：分钟")
    private String i;
    @ApiModelProperty("拼团时效：秒")
    private String s;
    
    public Long getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public Integer getPeople() {
        return this.people;
    }
    
    public Double getPrice() {
        return this.price;
    }
    
    public Date getStopTime() {
        return this.stopTime;
    }
    
    public String getNickname() {
        return this.nickname;
    }
    
    public String getAvatar() {
        return this.avatar;
    }
    
    public String getCount() {
        return this.count;
    }
    
    public String getH() {
        return this.h;
    }
    
    public String getI() {
        return this.i;
    }
    
    public String getS() {
        return this.s;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setPeople(final Integer people) {
        this.people = people;
    }
    
    public void setPrice(final Double price) {
        this.price = price;
    }
    
    public void setStopTime(final Date stopTime) {
        this.stopTime = stopTime;
    }
    
    public void setNickname(final String nickname) {
        this.nickname = nickname;
    }
    
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
    
    public void setCount(final String count) {
        this.count = count;
    }
    
    public void setH(final String h) {
        this.h = h;
    }
    
    public void setI(final String i) {
        this.i = i;
    }
    
    public void setS(final String s) {
        this.s = s;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PinkDto)) {
            return false;
        }
        final PinkDto other = (PinkDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$people = this.getPeople();
        final Object other$people = other.getPeople();
        Label_0139: {
            if (this$people == null) {
                if (other$people == null) {
                    break Label_0139;
                }
            }
            else if (this$people.equals(other$people)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$price = this.getPrice();
        final Object other$price = other.getPrice();
        Label_0176: {
            if (this$price == null) {
                if (other$price == null) {
                    break Label_0176;
                }
            }
            else if (this$price.equals(other$price)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$stopTime = this.getStopTime();
        final Object other$stopTime = other.getStopTime();
        Label_0213: {
            if (this$stopTime == null) {
                if (other$stopTime == null) {
                    break Label_0213;
                }
            }
            else if (this$stopTime.equals(other$stopTime)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$nickname = this.getNickname();
        final Object other$nickname = other.getNickname();
        Label_0250: {
            if (this$nickname == null) {
                if (other$nickname == null) {
                    break Label_0250;
                }
            }
            else if (this$nickname.equals(other$nickname)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$avatar = this.getAvatar();
        final Object other$avatar = other.getAvatar();
        Label_0287: {
            if (this$avatar == null) {
                if (other$avatar == null) {
                    break Label_0287;
                }
            }
            else if (this$avatar.equals(other$avatar)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$count = this.getCount();
        final Object other$count = other.getCount();
        Label_0324: {
            if (this$count == null) {
                if (other$count == null) {
                    break Label_0324;
                }
            }
            else if (this$count.equals(other$count)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$h = this.getH();
        final Object other$h = other.getH();
        Label_0361: {
            if (this$h == null) {
                if (other$h == null) {
                    break Label_0361;
                }
            }
            else if (this$h.equals(other$h)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$i = this.getI();
        final Object other$i = other.getI();
        Label_0398: {
            if (this$i == null) {
                if (other$i == null) {
                    break Label_0398;
                }
            }
            else if (this$i.equals(other$i)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$s = this.getS();
        final Object other$s = other.getS();
        if (this$s == null) {
            if (other$s == null) {
                return true;
            }
        }
        else if (this$s.equals(other$s)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof PinkDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $people = this.getPeople();
        result = result * 59 + (($people == null) ? 43 : $people.hashCode());
        final Object $price = this.getPrice();
        result = result * 59 + (($price == null) ? 43 : $price.hashCode());
        final Object $stopTime = this.getStopTime();
        result = result * 59 + (($stopTime == null) ? 43 : $stopTime.hashCode());
        final Object $nickname = this.getNickname();
        result = result * 59 + (($nickname == null) ? 43 : $nickname.hashCode());
        final Object $avatar = this.getAvatar();
        result = result * 59 + (($avatar == null) ? 43 : $avatar.hashCode());
        final Object $count = this.getCount();
        result = result * 59 + (($count == null) ? 43 : $count.hashCode());
        final Object $h = this.getH();
        result = result * 59 + (($h == null) ? 43 : $h.hashCode());
        final Object $i = this.getI();
        result = result * 59 + (($i == null) ? 43 : $i.hashCode());
        final Object $s = this.getS();
        result = result * 59 + (($s == null) ? 43 : $s.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "PinkDto(id=" + this.getId() + ", uid=" + this.getUid() + ", people=" + this.getPeople() + ", price=" + this.getPrice() + ", stopTime=" + this.getStopTime() + ", nickname=" + this.getNickname() + ", avatar=" + this.getAvatar() + ", count=" + this.getCount() + ", h=" + this.getH() + ", i=" + this.getI() + ", s=" + this.getS() + ")";
    }
}
